﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model
{
    /// <summary>    /// 进货明细表实体类    /// </summary>


    public class PurchaseDetail
    {
        public string PurchaseID { set; get; } //订单编号
        public int PurchaseDetailID { set; get; }//订单明细编号
        public string ProductID { set; get; } //商品编号
        public decimal PurchasePrice { set; get; }//购入价
        public int Quantity { set; get; }//数量
        public decimal Account { set; get; }//金额
        public PurchaseDetail() { }
        public PurchaseDetail (string purchaseID, int purchaseDetailID, string productID, decimal purchasePrice, int quantity)
        {
            this.PurchaseID = purchaseID;
            this.PurchaseDetailID = purchaseDetailID;
            this.ProductID = productID;
            this.PurchasePrice = purchasePrice;
            this.Quantity = quantity;
        }
    }
}
